import React from 'react';
import { useNavigate } from 'react-router-dom';
import './goback.less';
export default function GoBack() {
  const navigate = useNavigate();
  return (
    <div>
      <div className="btn_bto" onClick={() => navigate(-1)}>
        返回上一页
      </div>
    </div>
  );
}
